/**
 * 管理员主页面
 * @author 韩睿倩
 */

<template>
  <div>
    <el-container style="height:100%">
      <el-aside width="100">
        <administrator-aside></administrator-aside>
      </el-aside>
      <el-container>
        <el-header >
          <administrator-header/>
        </el-header>
        <router-view></router-view>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import AdministratorHeader from "../../components/administrator/AdministratorHeader.vue";
import AdministratorAside from "../../components/administrator/AdministratorAside";
export default {
  components: { AdministratorHeader, AdministratorAside },
  name: "AdministratorHome",
  compoments:{
    AdministratorAside,
    AdministratorHeader,
  },
  data() {
    return {};
  },
  computed:{
    adminId(){
      return this.$store.getters.userId;
    },
   

  },
  //调试使用，后续注释掉
  created(){  
    console.log(this.adminId)
   
  }
  
};
</script>

<style  scoped>
.el-header {
  /* display: flex; */
  color: white;
  background-color: black;
}
.el-main{
  padding-top: 0%;
}
</style>>
